package net.xuele.learn.mq;

/**
 * The class Rocket mq exception.
 *
 * @author w1092
 * @version 2017 -12-09 14:55:15
 * @since JDK 1.8
 */
public class RocketMQException extends Exception{
    /**
     * Instantiates a new Rocket mq exception.
     */
    public RocketMQException() {
        super();
    }

    /**
     * Instantiates a new Rocket mq exception.
     *
     * @param message the message
     */
    public RocketMQException(String message) {
        super(message);
    }

    /**
     * Instantiates a new Rocket mq exception.
     *
     * @param message the message
     * @param cause   the cause
     */
    public RocketMQException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Instantiates a new Rocket mq exception.
     *
     * @param cause the cause
     */
    public RocketMQException(Throwable cause) {
        super(cause);
    }

    /**
     * Instantiates a new Rocket mq exception.
     *
     * @param message            the message
     * @param cause              the cause
     * @param enableSuppression  the enable suppression
     * @param writableStackTrace the writable stack trace
     */
    protected RocketMQException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
